// ==UserScript==
// @name           phpBB Fix Subject MaxLength
// @namespace      http://glenncarr.com/greasemonkey/phpbb
// @description    Reduce the size of the MAXLENGTH on new posts to match the actually saved subject
// @include        *posting.php?mode=post*
// @author         Glenn Carr (glenn at glenncarr dot com)
// $LastChangedRevision: 174 $
// $LastChangedDate: 2007-07-16 16:13:49 +0000 (Mon, 16 Jul 2007) $
// ==/UserScript==
(function(){

var subject = document.getElementById( 'subject' );
if ( !subject )
    return;
    
var maxlength = subject.getAttribute( "maxlength" );
if ( maxlength == "" )
    return;
    
subject.setAttribute( "maxlength", "60" );

})();